package cn.bluedot.controller;

import java.io.IOException;

import javax.servlet.Servlet;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author 余聪
 * @time:2019年4月29日下午7:41:12
 *
 */
@WebServlet("/getDataServlet")
public class GetDataServlet extends HttpServlet{
	
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
//		String username = req.getParameter("username");
//		String password =  req.getParameter("password");
//		uif
//		req.getRequestDispatcher ("index.html"). forward(req, resp);
//		req.getRequestDispatcher ("error.html"). forward(req, resp);
//		String data = req.getParameter("dataName");
//		System.out.println(data);
	}
	@Override
	protected void doPost(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		// TODO Auto-generated method stub
		super.doGet(req, resp);
	}
}
